import http from '../request'
export default {
  getImgCategory(params) {
    return http.get('/api/getimgcategory', params)
  },
  /**
   *
   * @param {number} params 请求的id
   */
  getImages(params) {
    return http.get('/api/getimages/' + params)
  },
  /**
   * 根据id查找图片详情
   * @param {number} params 请求的id
   */
  getImageInfoById(params) {
    return http.get('/api/getimageInfo/' + params)
  },
  /**
   * 根据id查找缩略图
   * @param {number} params 请求的id
   */
  getThumImages(params) {
    return http.get('/api/getthumimages/' + params)
  }
}
